package com.example.safeassistan.message.model;

public class MessageDetail {

    /**
     * code : 200
     * message : 成功
     * data : {"id":2,"userId":0,"title":"放假快乐","content":"独家发售","type":2,"createTime":"2020-07-29 11:18:53","isRead":1}
     * count : 0
     */

    private int code;
    private String message;
    private DataBean data;
    private int count;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public static class DataBean {
        /**
         * id : 2
         * userId : 0
         * title : 放假快乐
         * content : 独家发售
         * type : 2
         * createTime : 2020-07-29 11:18:53
         * isRead : 1
         */

        private int id;
        private int userId;
        private String title;
        private String content;
        private int type;
        private String createTime;
        private int isRead;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getUserId() {
            return userId;
        }

        public void setUserId(int userId) {
            this.userId = userId;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }

        public String getCreateTime() {
            return createTime;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }

        public int getIsRead() {
            return isRead;
        }

        public void setIsRead(int isRead) {
            this.isRead = isRead;
        }
    }
}
